home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2001 / MacHack 2001.toast / pc / The Hacks / Palm Finder 2 / Src / Panes / window.h < prev   
Encoding:
Text File  |  2001-06-23  |  504 b   |  20 lines

  1. // window.h
  2.  
  3. #include "view.h"
  4. #include "commander.h"
  5.  
  6. class window: public view, public commander {
  7.     public:
  8.                                 window (RectangleType* in_bounds, view* in_superview, Boolean in_visible);
  9.         virtual                 ~window ();
  10.         
  11.         virtual void        get_content_rect( RectangleType* r );
  12.     protected:
  13.                                 // overriding view methods
  14.         virtual void        draw_self();
  15.         virtual Boolean    click_self(int x, int y);
  16.  
  17.                                 // overriding commander methods
  18.         virtual Boolean    do_cmd_self (int in_eventID, void* io_data);
  19.     
  20. };